/*!
Theme Name: Stroyfabrika
Theme URI: http://underscores.me/
Author: Evgeniy Yablochkin
Author URI: https://yablochkin.su
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
Text Domain: stroyfabrika
*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2rem;
  margin: 0 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
input,
select,
optgroup,
textarea {
  color: black;
  font-family: "PT Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.btn,
button {
  background-color: #238700;
  color: #ffffff;
  padding: 0.7rem 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: 0.25s ease-in-out;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.15;
  border-radius: 3px;
}

.btn:hover,
button:hover {
  background-color: #d7b791;
  color: #fff;
  border-bottom: 1px solid transparent;
}

.btn-outline {
  background-color: transparent;
  color: #b77a3e;
  border: 1px solid #b77a3e;
  font-weight: bold;
}

.btn-outline:hover {
  border: 1px solid #d7b791;
}

.btn-request {
  background-color: #00b300;
}

.btn-flare {
  position: relative;
  overflow: hidden;
}

.btn-flare::before {
  display: none;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 100%;
  background-color: rgba(256, 256, 256, 0.7);
  transform: translateX(-30px) skew(-45deg);
  animation: move-flare 10s infinite;
}

@keyframes move-flare {
  0% {
    transform: translateX(-30px) skewX(-45deg);
  }
  100% {
    transform: translateX(100px) skewX(-45deg);
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

h1 {
  font-size: 2.5rem;
  margin: 0 0 1rem 0;
}

h2 {
  font-size: 1.9rem;
  margin: 0 0 1.5rem 0;
  /* color: #b77a3e; */
}

h3 {
  color: #b77a3e;
  font-size: 1.35rem;
  margin: 0 0 1.2rem 0;
}

p {
  margin: 0 0 1.2rem 0;
  font-size: 1rem;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 0.5rem 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

table tr:nth-child(even) {
  background-color: #f2f2f2;
}

table td {
  padding: 0.5rem 1rem;
}

/* Links
--------------------------------------------- */
a {
  color: #b77a3e;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: 0.25s ease-in-out;
}

a:hover {
  border-bottom: 1px solid #6b4824;
  color: #6b4824;
}

a:active {
  color: #d6af87;
}

a:focus {
  color: #6b4824;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
input[type="button"],
input[type="reset"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

input[type="button"]:hover,
input[type="reset"]:hover {
  border-color: #ccc #bbb #aaa;
}

input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
  max-width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
  border: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: flex;
  }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

@font-face {
  font-family: "Days";
  font-weight: bold;
  font-style: normal;
  src: url("assets/fonts/days.woff2") format("woff2"),
    url("assets/fonts/days.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/ptsans-400.woff2") format("woff2"),
    url("assets/fonts/ptsans-400.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/ptsans-700.woff2") format("woff2"),
    url("assets/fonts/ptsans-700.woff") format("woff");
  font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Days", sans-serif;
}

.site-header-inner {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.site-logo {
  display: block;
  max-width: 300px;
}

.footer-logo {
  margin-right: 2rem;
}

.site-logo:hover {
  border-bottom: 1px solid transparent;
}

.header-icon {
  fill: #b77a3e;
  margin-right: 0.4rem;
  flex-shrink: 0;
}

.header-icon-mail,
.header-icon-shedule {
  width: 18px;
  height: 18px;
}

.header-icon-phone {
  width: 25px;
  height: 25px;
}

.site-header-inner,
.header-contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.header-contacts {
  margin-left: auto;
}

.header-shedule,
.header-phone,
.header-mail {
  display: flex;
  align-items: center;
}

.header-shedule {
  max-width: 230px;
  margin-right: 1.5rem;
}

.header-mail {
  margin-right: 1.5rem;
}

.header-shedule-txt,
.header-mail-txt {
  font-size: 0.8rem;
}

.header-phone-txt {
  font-size: 1.5rem;
  font-weight: 700;
}

.header-link {
  color: #20a354;
  text-decoration: none;
}

.main-navigation {
  background-color: #20a354;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item a {
  background-color: rgba(256, 256, 256, 0.45);
  border-bottom: none;
}

.main-navigation a {
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  transition: 0.2s ease-in-out;
  font-size: 0.95rem;
  font-family: "Days", sans-serif;
}

.site-logo-icon {
  width: 300px;
  height: 35px;
}

.site-footer {
  background-color: #20a354;
  color: #fff;
  padding: 2rem 0;
  border-top: 3px solid #b77a3e;
}

.footer-copy {
  font-size: 0.8rem;
  margin: 0;
  text-align: center;
}

.footer-site-icon {
  width: 250px;
  height: 28px;
}

.footer-icon {
  fill: #b77a3e;
  margin-right: 0.2rem;
  vertical-align: middle;
}

.footer-icon-phone {
  width: 30px;
  height: 30px;
}

.footer-icon-mail {
  width: 14px;
  height: 14px;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-services {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  align-items: center;
}

.footer-menu-item {
  margin-right: 0.7rem;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-link:hover {
  color: #ffffff;
  border-bottom: 1px solid #fff;
}

.footer-services-item:not(:last-child) {
  margin-right: 0.9rem;
}

.footer-services-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  background-color: #238700;
  vertical-align: middle;
  margin-right: 2px;
}

.footer-mail {
  font-size: 0.9rem;
  text-align: right;
}

.footer-phone {
  text-align: right;
  font-size: 1.3rem;
  font-weight: bold;
}

.services-list {
  margin-bottom: 2rem;
}

.services-list h2 {
  text-align: center;
}

.services-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  text-decoration: none;
  border-bottom: none;
  margin-bottom: 1rem;
}

.services-shadow {
  position: absolute;
  left: 0;
  top: 15px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: center;
  height: 0;
  transition: 0.3s ease-in-out;
}

.services-head {
  margin: 0;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0.5rem;
  transition: 0.3s ease-in-out;
}

.services-more {
  position: absolute;
  bottom: 20px;
  color: #fff;
  transform: scale(0);
  transition: 0.3s ease-in-out;
}

.services-list a:hover .services-shadow {
  top: 0;
  height: 100%;
}

.services-list a:hover .services-head {
  background-color: transparent;
}

.services-list a:hover .services-more {
  transform: scale(1);
}

.slider-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 45px;
  height: 45px;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b77a3e' viewBox='0 0 512 512'%3E%3Cpath d='M425.167 240.958c-2.938-14.313-9.979-27.375-20.583-37.969L212.792 21.865C198.688 7.76 179.938 0 160 0c-41.167 0-74.667 33.5-74.667 74.667 0 19.958 7.771 38.708 22.083 53.01L243.292 256 107.208 384.531c-14.104 14.104-21.875 32.854-21.875 52.802C85.333 478.5 118.833 512 160 512c19.896 0 38.583-7.729 52.688-21.76l192.104-181.438c10.396-10.385 17.438-23.438 20.375-37.76 1-4.885 1.5-9.948 1.5-15.042 0-4.969-.5-10.01-1.5-15.042z'/%3E%3C/svg%3E");
  cursor: pointer;
}

.slider-nav-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  left: 0;
  width: 45px;
  height: 45px;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b77a3e' viewBox='0 0 512 512'%3E%3Cpath d='M425.167 240.958c-2.938-14.313-9.979-27.375-20.583-37.969L212.792 21.865C198.688 7.76 179.938 0 160 0c-41.167 0-74.667 33.5-74.667 74.667 0 19.958 7.771 38.708 22.083 53.01L243.292 256 107.208 384.531c-14.104 14.104-21.875 32.854-21.875 52.802C85.333 478.5 118.833 512 160 512c19.896 0 38.583-7.729 52.688-21.76l192.104-181.438c10.396-10.385 17.438-23.438 20.375-37.76 1-4.885 1.5-9.948 1.5-15.042 0-4.969-.5-10.01-1.5-15.042z'/%3E%3C/svg%3E");
  cursor: pointer;
}

.swiper-slide {
  text-align: center;
}

.swiper-container a:hover {
  border-bottom: 1px solid transparent;
}

.visually-hidden {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}

.item-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #b77a3e;
}

.item-price span {
  font-weight: bold;
  color: #00b300;
  padding: 0 5px;
}

.item-price .rouble-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  fill: #b77a3e;
}

.item-descr-gift {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
}

.item-descr-gift .gift-icon {
  width: 20px;
  height: 20px;
  fill: #b77a3e;
  margin-right: 8px;
}

.item-descr-txt p::before {
  display: inline-block;
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%23b77a3e'%3E%3Cpath d='m256 0c-141.164062 0-256 114.835938-256 256s114.835938 256 256 256 256-114.835938 256-256-114.835938-256-256-256zm129.75 201.75-138.667969 138.664062c-4.160156 4.160157-9.621093 6.253907-15.082031 6.253907s-10.921875-2.09375-15.082031-6.253907l-69.332031-69.332031c-8.34375-8.339843-8.34375-21.824219 0-30.164062 8.339843-8.34375 21.820312-8.34375 30.164062 0l54.25 54.25 123.585938-123.582031c8.339843-8.34375 21.820312-8.34375 30.164062 0 8.339844 8.339843 8.339844 21.820312 0 30.164062zm0 0'/%3E%3C/svg%3E");
  margin-right: 5px;
}

.item-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.item-contact .btn-request {
  margin-right: 1.5rem;
}

.item-contact .contact-phone-icon {
  width: 20px;
  height: 20px;
  fill: #b77a3e;
  margin-right: 5px;
}

.item-contact .contact-phone {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
}

.gbtn {
  padding: 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 1rem 0;
  padding: 0;
  list-style-type: none;
  font-size: 0.9rem;
  font-weight: bold;
}

.breadcrumbs-divider {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512.828 512.828' width='11' height='11' fill=''%3E%3Cpath d='M33.105 473.415L0 428.339l234.096-171.928L0 84.49l33.104-45.077 264.785 194.459a27.964 27.964 0 010 45.077L33.105 473.415z'/%3E%3Cpath d='M236.635 473.415l-33.105-45.076 234.094-171.928L203.53 84.49l33.104-45.077 264.783 194.459a27.961 27.961 0 010 45.076L236.635 473.415z'/%3E%3C/svg%3E")
    center no-repeat;
}

.breadcrumbs li:not(:first-child) {
  margin-left: 0.5rem;
}

.breadcrumbs li:not(:last-child) {
  margin-right: 0.5rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.page-header {
  background: #f9f9f9;
  padding: 1.5rem 0 1rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f2f2f2;
}

.contact-form-inner {
  display: none;
}

.contact-form-active {
  display: block;
  position: fixed;
  z-index: 9999;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  background: #fff;
  padding: 60px 25px 25px;
  max-width: 500px;
}

.form-lightbox {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999 !important;
  overflow: hidden;
  touch-action: none;
  outline: 0;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
}

.btn-form-close {
  position: absolute;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  right: 20px;
  top: 20px;
  padding: 6px;
  background-color: #238700;
}

.btn-form-close-icon {
  width: 14px;
  height: 14px;
  fill: #ffffff;
}

.form-content {
  text-align: center;
}

.form-content p {
  margin-bottom: 1.1rem;
}

.catalog {
  padding: 50px 0;
}

.catalog-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 0;
}

.catalog-link,
.catalog-link:hover,
.catalog-link:active {
  color: #fff;
}

.catalog-item {
  margin-bottom: 30px;
}

.card {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100%;
  background-color: #238700;
  color: #fff;
  padding-bottom: 1rem;
  position: relative;
}

.card:hover {
  background-color: #d7b791;
  color: #fff;
  border-bottom: 1px solid transparent;
  box-shadow: 3px 3px 15px 0px rgba(0, 0, 0, 0.6);
}

.card-img {
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.card-head {
  color: #fff;
  font-size: 1.25rem;
  padding-right: 10px;
  padding-left: 10px;
  text-align: center;
  flex-grow: 1;
  max-width: 100%;
}

.card-price {
  position: absolute;
  top: 10px;
  left: 0;
  background-color: #00b300;
  padding: 5px 15px;
  font-weight: bold;
  box-shadow: 1px 1px 5px 0px rgb(0 0 0 / 60%);
}

.card-button {
  border: 1px solid #ffffff;
  padding: 0.5rem 1rem;
  background-color: #238700;
  color: #ffffff;
  text-align: center;
  cursor: pointer;
  transition: 0.25s ease-in-out;
  text-decoration: none;
  line-height: 1.15;
  border-radius: 3px;
}

.card:hover .card-button {
  background-color: #d7b791;
  color: #fff;
  border: 1px solid #fff;
}

.catalog-head {
  text-align: center;
  margin-bottom: 2rem;
}

.page-service-banner {
  min-height: 550px;
  background-color: rgba(0, 0, 0, 0.6);
  margin-bottom: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner-bath {
  background-image: url("/wp-content/themes/stroyfabrika/assets/img/bath-banner.jpg");
  background-image: -webkit-image-set(url("/wp-content/themes/stroyfabrika/assets/img/bath-banner.webp") 1x);
}

.banner-framehouse {
  background-image: url("assets/img/framehouse-cover.jpg");
  background-image: -webkit-image-set(url("assets/img/framehouse-cover.webp") 1x);
}

.banner-title {
  color: #ffffff;
  padding: 15px;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
  margin-bottom: 5.85rem;
}

.banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-buttons .btn {
  margin: 0 1rem;
  min-width: 250px;
  box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.6);
}

.entry-header {
  padding-top: 2rem;
}

.footer-phone-link {
  color: #fff;
}

.menu-toggle {
  margin: 0 auto;
}

.site-action {
  margin-bottom: 1rem;
  text-align: center;
}

.site-action-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-family: "Days", sans-serif;
  background: #00b300;
  padding: 0.5rem 2rem;
  color: #fff;
  box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.6);
}

.site-action-text {
  margin-right: 1rem;
}

.site-action-link {
  color: #fff;
  border-bottom: 1px solid #fff;
  font-size: 14px;
}

.site-action-link::after {
  content: "\2192";
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
}

.title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.complectation {
  padding: 50px 0;
}

.complectation__table {
  border-spacing: 0;
}

.complectation__table td {
  padding: 18px 10px;
  border-bottom: 1px solid #dbdbdc;
}

.complectation__table tr:nth-child(even) {
  background-color: inherit;
}

.complectation__table tr td:nth-child(1) {
  font-size: 20px;
  color: #dbdbdc;
  width: 10%;
  text-align: center;
}

.complectation__table tr td:nth-child(2) {
  font-family: "Days", sans-serif;
  color: #b77a3e;
  font-size: 18px;
  width: 25%;
}

@media screen and (max-width: 1199.98px) {
  .footer-services {
    flex-wrap: wrap;
  }

  .footer-contacts {
    flex-shrink: 0;
  }

  .site-logo {
    max-width: 200px;
    margin-right: 0;
  }

  .footer-site-icon {
    width: 200px;
    height: 23px;
  }

  .footer-services-item {
    margin: 0 0.5rem 0.5rem;
  }

  .footer-copy {
    font-size: 0.7rem;
  }

  .footer-link {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 991.98px) {
  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .footer-services {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .site-footer-inner {
    align-items: start;
  }

  .site-header-inner {
    flex-direction: column;
  }

  .site-logo {
    max-width: 300px;
    margin-bottom: 1rem;
  }

  .header-contacts {
    margin-left: 0;
  }

  .item-price {
    font-size: 1.3rem;
  }

  .item-descr-gift {
    font-size: 1.15rem;
  }

  .gift-icon {
    display: none;
  }

  .item-contact {
    justify-content: center;
  }

  .item-contact .btn-request {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 767.98px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  .card-head {
    font-size: 1.1rem;
  }

  .header-contacts {
    flex-direction: column;
  }

  .header-shedule {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .header-mail {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .site-footer-inner {
    flex-wrap: wrap;
  }

  .footer-services {
    order: 2;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 1rem;
    width: 100%;
  }

  .footer-services-item {
    margin-left: 0;
  }

  .footer-services-item:not(:last-child) {
    margin-right: 0.5rem;
  }

  .footer-services-item::before {
    width: 5px;
    height: 5px;
    margin-right: 1px;
  }

  .card-button {
    font-size: 0.85rem;
  }

  .item-slider {
    margin-bottom: 1rem;
  }

  .item-contact .btn-request {
    margin-right: 1rem;
    margin-bottom: 0;
  }

  .complectation__table tr td:nth-child(1) {
    display: none;
  }
}

@media screen and (max-width: 575.98px) {
  h1 {
    font-size: 1.5rem;
  }

  .banner-buttons {
    flex-direction: column;
  }

  .banner-buttons .btn {
    margin-bottom: 1rem;
  }

  .card {
    max-width: 380px;
    margin: 0 auto;
  }

  .site-footer-inner {
    flex-direction: column;
    align-items: center;
  }

  .footer-services {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .footer-contacts {
    margin-bottom: 1rem;
  }

  .footer-mail {
    text-align: center;
  }

  .footer-services {
    width: auto;
    order: 0;
    margin-bottom: 1rem;
  }

  .services-list a {
    max-width: 350px;
    margin: 0 auto 1rem auto;
  }

  .services-list a img {
    width: 100%;
  }

  table {
    font-size: 0.85rem;
  }

  .site-logo-icon {
    width: 250px;
    height: 29px;
  }

  .item-contact .btn-request {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .contact-form-active {
    max-width: 320px;
  }

  .complectation__table td {
    padding: 10px 5px;
  }
  .complectation__table td,
  .complectation__table tr td:nth-child(2) {
    display: block;
    width: auto;
    border-bottom: none;
  }

  .complectation__table tr td:nth-child(3) {
    border-bottom: 1px solid #dbdbdc;
  }
}

.entry-content {
  overflow: hidden;
}

.gallery-icon a {
	display: block;
}

.gallery-icon img {
	width: 300px;
	height: 225px;
	object-fit: cover;
	border-radius: 3px;
}